From 522bbc182d88141a79dfc9ea23bc088b7a438b7f Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 2 May 2019 19:10:49 +0000 Subject: [PATCH] gesture: Chain up in filter_event This is the right thing to do. We want to exclude more events. --- gtk/gtkgesture.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gtk/gtkgesture.c b/gtk/gtkgesture.c index 7276a3043d..e4e0791d59 100644 --- a/gtk/gtkgesture.c +++ b/gtk/gtkgesture.c @@ -628,7 +628,10 @@ gtk_gesture_filter_event (GtkEventController *controller, * subclasses which punch the holes in for the events * they can possibly handle. */ - return EVENT_IS_TOUCHPAD_GESTURE (event); + if (EVENT_IS_TOUCHPAD_GESTURE (event)) + return FALSE; + + return GTK_EVENT_CONTROLLER_CLASS (gtk_gesture_parent_class)->filter_event (controller, event); } static gboolean -- 2.30.2